package com.haikesi.api.excutionplan.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class ExcutionPlanProcessVO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "Id")
    private String id;

    @ApiModelProperty(value = "平台ID")
    private String platformId;

    @ApiModelProperty(value = "平台进程id")
    private String platformProcessId;

    @ApiModelProperty(value = "执行计划id")
    private String excutionPlanId;

    @ApiModelProperty(value = "进程名称")
    private String name;

    @ApiModelProperty(value = "前置动作")
    private String hasCondition;

    @ApiModelProperty(value = "前置时间（秒）")
    private Integer preTriggerTime;

    @ApiModelProperty(value = "延时时间（秒）")
    private Integer delayTriggerTime;

    @ApiModelProperty(value = "模式ID集合")
    private String modeIds;

    @ApiModelProperty(value = "进程条件的中文名称描述集合")
    private String triggerConditonDesc;

    @ApiModelProperty(value = "模式的中文描述集合")
    private String modeDesc;

    @ApiModelProperty(value = "进程条件集合")
    private String excutionConditionList;

    @ApiModelProperty(value = "进程时间集合")
    private String excutionTimeConditionList;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

}